#ifndef OBJECT_ORDER_H
#define OBJECT_ORDER_H

#include "Object.h"

namespace RisingStar
{
	class CObjectOrder: public CObject
	{
		public:
		CObjectOrder(TObjectProperty objPropert);
		CObjectOrder();
		~CObjectOrder();
		//移车服务
		//对话服务
		//在没有划分停车位的地方找不到车位，悬赏发布停车位需求，等待其他用户接单让出停车位
		//发布临时停车位，让出停车位。
		//停车告警，如交警贴罚单
		//将区域分成无人认领和有人认领状态
		//交警处罚违停
		
		CObject::ObjectPtr Copy();
		void Register();
		private:
		bool Init();
		static bool ObjectCallbackUserRegister(CObject* obj);
		static bool ObjectCallbackUserEdit(CObject* obj);
		static bool ObjectCallbackUserPasswordResetAndLogin(CObject* obj);
		static bool ObjectCallbackUserPasswordLogin(CObject* obj);
		static bool ObjectCallbackUserIdentifyingCodeSend(CObject* obj);
		static bool ObjectCallbackUserDel(CObject* obj);
	};
	
	
};


#endif
